package cn.tedu.egmybatis1.mappers;

import cn.tedu.egmybatis1.pojo.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    Product selectSingProduct(Integer id);

    int deleteById(Integer id);

    int deleteByIds(List<Integer> ids);

    int dynamicUpdate(Product product);

    int selectCount();
}
